using System;
using System.Collections.Generic;
using System.Text;

namespace tKitchen
{
    public class IngredientCategory
    {
        int ingredientCategoryId;
        string name;
        string descr;

        #region Properties
        public int IngredientCategoryId
        {
            get { return ingredientCategoryId; }
            set { ingredientCategoryId = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Descr
        {
            get { return descr; }
            set { descr = value; }
        }
        #endregion

        public IngredientCategory()
        {
        }
        public IngredientCategory(int idIn, string nameIn, string descIn)
        {
            ingredientCategoryId = idIn;
            name = nameIn;
            descr = descIn;
        }


        internal IngredientCategory Copy()
        {
            IngredientCategory temp = new IngredientCategory();
            temp.Descr = this.Descr;
            temp.IngredientCategoryId = this.IngredientCategoryId;
            temp.Name = this.Name;
            
            return temp;
        }
    }
}
